package com.tm.storage.service.impl;

import com.tm.storage.entity.StorageEntity;
import com.tm.storage.mapper.StorageMapper;
import com.tm.storage.service.StorageService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
public class StorageServiceImpl implements StorageService {

    @Resource
    private StorageMapper storageMapper;

    public int updateStorage(StorageEntity storage) {
        return storageMapper.updateById(storage);

    }
}
